﻿@if(Request.IsAuthenticated) {     
    @: <span style="margin-right:10px; font-weight: bolder">Приветствуем <span>@Context.User.Identity.Name</span>! </span>|
    @: <span style="margin-left: 10px; margin-right: 10px; text-decoration: none; cursor: default; ">@Html.ActionLink("Выход", "LogOff", "Account")</span>     
}
else
{
    @: @Html.ActionLink("Вход", "LogOn", "Account") 
}
